package com.transaction.demo.base.vo.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 描述：用户信息表
 * 作者：马庆智
 * 日期：2023/03/28 17:07:15
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("用户信息表请求updateVo")
public class SysUserUpdateReqVo implements Serializable {

	@ApiModelProperty(value = "用户ID", required = true)
	@NotNull(message = "userId用户ID不能为空")
	private Integer userId;

	@ApiModelProperty(value = "用户姓名", required = true)
	@NotBlank(message = "userName用户姓名不能为空")
	private String userName;

	@ApiModelProperty(value = "昵称", required = true)
	@NotBlank(message = "nickName昵称不能为空")
	private String nickName;

	@ApiModelProperty(value = "性别(M:男，F:女)",required = true)
	@NotBlank(message = "gender性别(M:男，F:女)不能为空")
	private String gender;

	@ApiModelProperty(value = "手机",required = true)
	@NotBlank(message = "mobileNo手机不能为空")
	private String mobileNo;

	@ApiModelProperty(value = "邮箱",required = true)
	@NotBlank(message = "email邮箱不能为空")
	private String email;

	@ApiModelProperty("微信号")
	private String wechatNo;

	@ApiModelProperty(value = "状态(1:正常，0:停用)",required = true)
	@NotBlank(message = "status状态(1:正常，0:停用)不能为空")
	private String status;

	@ApiModelProperty("用户头像")
	private String avatar;

	@ApiModelProperty("数据权限")
	private String dataPermissions;

}